<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新增分站</title>

    <!--layui-->
    <link rel="stylesheet" th:href="@{../static/layui/css/layui.css}">

    <!---->
    <link rel="stylesheet" th:href="@{../static/fonts/font-awesome/font-awesome.css}">
    <link rel="stylesheet" th:href="@{../static/styles/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{../static/styles/main.min.css}">
    <link rel="stylesheet" th:href="@{../static/styles/staff/substation.css}">
    <!--layui修改样式-->
    <link rel="stylesheet" th:href="@{../static/styles/layui-alter.css}">

</head>

<body class="app theme-one">

        <div class="page-addSub">
            <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                <legend>新增分站</legend>
            </fieldset>

            <form method="post" action="" id="myForm">
                <table  id="tab-add-fz" border="1">
                    <tr>
                        <td class="td-text-name">分站名称:</td>

                        <td class="td-input">
                            <input type="hidden" class="layui-input input-border input-m" name="substId"/>
                            <input type="text" class="layui-input input-border input-m" name="substName"/>
                        </td>
                        <td class="td-text-name">分站电话:</td>
                        <td class="td-input">
                            <input type="text" class="layui-input input-border input-m" name="substTelephone"/>
                        </td>
                        <td class="td-text-name">分站地址:</td>
                        <td class="td-input">
                            <input type="text"  class="layui-input input-border input-m" name="substAddress"/>
                        </td>
                        <td class="td-text-name">地址分类:</td>
                        <td class="td-chang">
                            <select class="input-add-text"  id="province"  onchange="chooseProvince(this)" >
                                <option value="1">省份</option>
                            </select>
                            <select class="input-add-text"  id="city" onchange="chooseCity(this)" >
                                <option value="2">所在城市</option>
                            </select>
                            <select class="input-add-text" id="area" >
                                <option value="3">所在区县</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td class="td-text-name">分站代码:</td>
                        <td class="td-input">
                            <input type="text" class="layui-input input-border input-m"/>
                        </td>
                        <td class="td-text-name">分站属性:</td>
                        <td class="td-input">
                            <select class="input-add-site" name="substProperty" id="substProperty">
                                <option>直营</option>
                                <option>代理</option>
                            </select>
                        </td>
                        <td class="td-text-name">负责人:</td>
                        <td class="td-input">
                            <input type="text" class="layui-input input-border input-m" name="substPrincipal"/>
                        </td>
                        <td class="td-text-name">负责人手机:</td>
                        <td class="td-chang">
                            <input type="text" class="layui-input input-border input-m" name="substPrincipalPhone"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="td-text-name">分站人数:</td>
                        <td class="td-input">
                            <input type="text" class="layui-input input-border input-m" name="substNnt"/>
                        </td>
                        <td class="td-text-name">分站备注:</td>
                        <td class="td-input">
                            <input type="text" class="layui-input input-border input-m" name="substRemark"/>
                        </td>
                        <td class="td-text-name">操作员:</td>
                        <td class="td-input">
                            <input type="text" class="layui-input input-border input-m" name="substOperator"/>
                        </td>
                        <td class="td-text-name">分站照片:</td>
                        <td class="td-chang"><!--<input type="file" value="照片仅vip客户上传"/>-->
                            <span class="span-text">照片仅vip客户上传</span>
                        </td>
                    </tr>
                    <tr>
                        <td  colspan="9">
                            <div class="div-span">
                                <span class="span-hei">分站派送关联城市:</span>
                                <textarea class="class-textarea" id="substSendcity" name="substSendcity"></textarea>
                                <span class="span-hui">每个城市用|号隔开,设置好本分站的关联城市后,在开单输入到达城市时,自动会匹配后面的到达分站。</span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="9">
                            <div class="div-su">
                                <input type="button" id="sub-save" class="btn btn-success" value="新增保存"/>
                                <a type="button" id="returnList" class="btn btn-info" value="返回列表">返回列表</a>
                            </div>
                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</div>
</body>
<script src="../../static/layui/layui.js"></script>
<script src="../../static/scripts/main.js"></script>
<script src="../../static/scripts/js/jquery-2.2.1.js"></script>
<script src="../../static/scripts/staff/site.js"></script>

</html>